import { scheduleUpdate } from '../Render';

export class Component {
  constructor(props) {
    this.props = props;
  }
  setState(newState) {
    scheduleUpdate(this, newState);
  }
}